.tabrow {
    text-align: center;
    list-style: none;
    padding: 0;margin: 0px;
    line-height: 24px;
    height: 32px;
    overflow: hidden;
    font-family: verdana;
    font-size: 14px;
    position: relative;
}
.tabrow li {
    padding: 3px 20px 0px 20px;height: 28px;
    border: 1px solid #ddd;border-bottom: none;
    background: #3179ac;
    display: inline-block;
    position: relative;
    z-index: 0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin: 0 -5px;

}
.tabrow a {
    color: #fff;
    text-decoration: none;
}
.tabrow li.selected,
.tabrow li:hover{
    background: #ddd;
    z-index: 2;
}
.tabrow li.selected a,
.tabrow li a:hover{
    color: #004e86;
}
.tabrow li.selected:before,
.tabrow li:hover:before{
    box-shadow: 2px 2px 0 #ddd;
}
.tabrow li.selected:after,
.tabrow li:hover:after{
    box-shadow: -2px 2px 0 #ddd;
}
.tabrow:before {
    position: absolute;
    content: " ";
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.tabrow li:before,
.tabrow li:after {
    border: 1px solid #ddd;
    position: absolute;
    bottom: -1px;
    width: 5px;
    height: 5px;
    content: " ";
}
.tabrow li:before {
    left: -6px;
    border-bottom-right-radius: 6px;
    border-width: 0 1px 1px 0;
    box-shadow: 2px 2px 0 #2d7cb5;
}
.tabrow li:after {
    right: -6px;
    border-bottom-left-radius: 6px;
    border-width: 0 0 1px 1px;
    box-shadow: -2px 2px 0 #2d7cb5;
}
.tabrow li.selected:before {
    box-shadow: 2px 2px 0 #ddd;
}
.tabrow li.selected:after {
    box-shadow: -2px 2px 0 #ddd;
}